.data-card {
  position: relative;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 102, 255, 0.08) 100%);
  border-radius: 16px;
  padding: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(10px);
}

.data-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    var(--card-color, #00d4ff),
    transparent 30%
  );
  animation: rotate 4s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.data-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: linear-gradient(135deg, rgba(5, 8, 24, 0.95) 0%, rgba(10, 14, 39, 0.95) 100%);
  border-radius: 14px;
  z-index: 0;
}

.data-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(0, 212, 255, 0.4),
    0 0 80px rgba(var(--card-color, #00d4ff), 0.2);
}

.data-card:hover::before {
  opacity: 0.15;
}

.data-card__glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 0%,
    var(--card-color, #00d4ff) 0%,
    transparent 70%
  );
  opacity: 0.1;
  pointer-events: none;
}

.data-card__content {
  position: relative;
  z-index: 1;
}

.data-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.data-card__icon {
  font-size: 32px;
  filter: drop-shadow(0 0 12px var(--card-color, #00d4ff));
  animation: float 3s ease-in-out infinite;
}

.data-card__title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.data-card__body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.data-card__value {
  font-size: 40px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--card-color, #00d4ff), rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 25px var(--card-color, #00d4ff));
  line-height: 1;
  animation: glow 2s ease-in-out infinite;
  position: relative;
}

.data-card__value::after {
  content: attr(data-value);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  filter: blur(15px);
  opacity: 0.5;
}

.data-card__unit {
  font-size: 16px;
  margin-left: 4px;
  opacity: 0.8;
}

.data-card__trend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  backdrop-filter: blur(10px);
  border: 1px solid currentColor;
  box-shadow: 0 4px 12px currentColor;
}

.data-card__trend--up {
  color: #00ff88;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.05));
  animation: pulse 2s ease-in-out infinite;
}

.data-card__trend--down {
  color: #ff4444;
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.2), rgba(255, 68, 68, 0.05));
  animation: pulse 2s ease-in-out infinite;
}

.data-card__trend-icon {
  animation: pulse 1.5s ease-in-out infinite;
}

.data-card__border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid var(--card-color, #00d4ff);
  border-radius: 16px;
  opacity: 0.2;
  pointer-events: none;
  transition: all 0.3s ease;
}

.data-card:hover .data-card__border {
  opacity: 0.8;
  box-shadow:
    0 0 30px var(--card-color, #00d4ff),
    inset 0 0 30px rgba(var(--card-color, #00d4ff), 0.1);
  animation: borderGlow 2s ease-in-out infinite;
}
